import axios from '../http'
import base from '../env'
import qs from 'qs'

const home = {
  /**
   * 请求示例
   * @param {Object} data
   * @returns promise
   */
  getHomeList (data) {
    return axios.post(`${base.baseUrl}/home/list`, qs.stringify(data))
  }
}

export default home
